package com.qianbao.domain.sms;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

public class SVSmsEntity implements Serializable {

    private String id;

    @NotNull(message = "手机号不能为空")
    private String phone;

    private String sign;

    private String template_code;

    private String params;

    private Date create_time;

    private Date update_time;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getTemplate_code() {
        return template_code;
    }

    public void setTemplate_code(String template_code) {
        this.template_code = template_code;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    @Override
    public String toString() {
        return "SVSmsEntity{" +
                "id='" + id + '\'' +
                ", phone='" + phone + '\'' +
                ", sign='" + sign + '\'' +
                ", template_code='" + template_code + '\'' +
                ", params='" + params + '\'' +
                ", create_time=" + create_time +
                ", update_time=" + update_time +
                '}';
    }
}
